package com.situ.lession1226.dao;

import com.situ.lession1226.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface UserDAO {
    /**
     *
     * @return
     */
    List<User> findAll(User search);

    User findById(Integer id);

    int deleteByIds(Integer[] ids);


    int save(User user);

    int update(User user);
}
